import { Component } from '@angular/core';

//import { NavController } from 'ionic-angular';
import { ActionSheetController } from 'ionic-angular'
import { AlertController } from 'ionic-angular';

import { NavController, NavParams } from 'ionic-angular';

import { ItemDetailsPage } from '../home/item-details/item-details';
import { ColumnlistPage } from '../home/columnlist/columnlist';

@Component({
  selector: 'page-home',
  templateUrl: 'home.html'
})
export class HomePage {

  selectedItem: any;
  constructor(public navCtrl: NavController, public navParams: NavParams,public alertCtrl: AlertController) {

  }

  itemTapped(item) {
    this.navCtrl.push(ItemDetailsPage, {
      item: item
    });
  }
  
  collist(list) {
    this.navCtrl.push(ColumnlistPage, {
      list: list
    });
  }
  
}
